package com.cy.detectsys;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.cy.detectsys.mapper")
@Slf4j
@EnableScheduling
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
		log.info("\n"+
				".__   __.   ______      .______    __    __    _______\n" +
				"|  \\ |  |  /  __  \\     |   _  \\  |  |  |  |  /  _____|\n" +
				"|   \\|  | |  |  |  |    |  |_)  | |  |  |  | |  |  __\n" +
				"|  . `  | |  |  |  |    |   _  <  |  |  |  | |  | |_ |\n" +
				"|  |\\   | |  `--'  |    |  |_)  | |  `--'  | |  |__| |\n" +
				"|__| \\__|  \\______/     |______/   \\______/   \\______|");
	}

}
